package com.foreveross.weixin.vo.event;

/**
 * 事件基类
 * @author wm
 * @date 2014-3-24
 */
public class BaseEvent {
	
	// 开发者微信号  
    private String ToUserName;  
    // 发送方帐号（一个OpenID）  
    private String FromUserName;  
    // 消息创建时间 （整型）  
    private long CreateTime;  
    // 消息类型（event）  
    private String MsgType;
    //事件类型
	private String Event; 

    
	public BaseEvent() {
		super();
	}

	public BaseEvent(String toUserName, String fromUserName, long createTime,
			String msgType,String event) {
		super();
		ToUserName = toUserName;
		FromUserName = fromUserName;
		CreateTime = createTime;
		MsgType = msgType;
		Event = event;
	}

	public String getToUserName() {
		return ToUserName;
	}

	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}

	public String getFromUserName() {
		return FromUserName;
	}

	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}

	public long getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(long createTime) {
		CreateTime = createTime;
	}

	public String getMsgType() {
		return MsgType;
	}

	public void setMsgType(String msgType) {
		MsgType = msgType;
	}  
    
	public String getEvent() {
		return Event;
	}

	public void setEvent(String event) {
		Event = event;
	}
}
